﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ObserverPattern
{
    public class DingYueZhe1 : DingYueZhe
    {
        public DingYueZhe1(string name):base()
        {
            this.Name = name;
        }
        public override void Update(string name, string status)
        {
            Console.WriteLine($"来自{name}的提醒，{status},{this.name}收到了，不玩了");
        }
    }
}
